<section id="main-content">
      <section class="wrapper site-min-height">
          	<h3><i class="fa fa-angle-right"></i> <?php if (isset($title)){echo $title;} ?></h3>
				    <div class="row mt">
				    <div class="col-md-12" style="aling:center">
                      <div class="content-panel">
                          <table class="table table-striped table-advance table-hover">
                          	<h4><i class="fa fa-thumb-tack"></i>	|  All Post <a href="<?php echo site_url()?>/backend/post/createPost"><button type="button" class="btn btn-theme"><i class="fa fa-plus"></i> Add New</button></a></h4>
                          	                 	                   	  	 
	                  	  	  <hr>
                              <thead>
                              <tr>
                                  <th><i class="fa fa-angellist"></i> Title</th>
                                  <th><i class="fa fa-info-circle"></i> Author</th>
                                  <th><i class="fa fa-bookmark"></i> Categories</th>
                                  <th><i class=" fa fa-clock-o"></i> Date</th>
                                  <th></th>
                              </tr>
                              </thead>
                              <tbody>
                              <?php foreach($arrPost as $post): ?>
                              <tr>
                                  <td><a href="<?php echo base_url("backend/post/viewPost")."/".$post["id_post"]; ?>"><?php echo $post["post_judul"]; ?></a></td>
                                  <td><?php echo $post["admin_nama"] ?></td>
                                  <td><?php echo $post["nama_kategori"] ?></td>
                                  <td><span class="label label-info label-mini"><?php echo $post["post_date"] ?></span></td>
                                  <td>
                                      <button class="btn btn-success btn-xs"><i class="fa fa-check"></i></button>
                                      <button class="btn btn-primary btn-xs"><i class="fa fa-pencil"></i></button>
                                      <button class="btn btn-danger btn-xs"><i class="fa fa-trash-o "></i></button>
                                  </td>
                              </tr>
                              <?php endforeach?>                     
                              </tbody>
                          </table>
                      </div><!-- /content-panel -->
                  </div><!-- /col-md-12 -->
              </div><!-- /row -->

		</section><! --/wrapper -->
</section><!-- /MAIN CONTENT -->